package org.example.factory;

import org.springframework.beans.factory.FactoryBean;

public class OrderDaoFactoryBean implements FactoryBean<OrderDao> {
    public OrderDao getObject() throws Exception {
        return new OrderDaoImpl();
    }

    public Class<?> getObjectType() {
        return OrderDao.class;
    }
}
